Once Upon a Polymorphic

نویسندگان

  • Keith Wansbrough
  • Simon Peyton Jones
چکیده

We present a sound type-basedùsage analysis' for a realistic lazy functional language. Accurate information on the usage of program subexpressions in a lazy functional language permits a compiler to perform a number of useful optimi-sations. However, existing analyses are either ad-hoc and approximate, or deened over restricted languages. Our work extends the Once Upon A Type system of Turner, Mossin, and Wadler (FPCA'95). Firstly, we add type poly-morphism, an essential feature of typed functional programming languages. Secondly, we include general Haskell-style user-deened algebraic data types. Thirdly, we explain and solve thèpoisoning problem', which causes the earlier analysis to yield poor results. Interesting design choices turn up in each of these areas. Our analysis is sound with respect to a Launchbury-style operational semantics, and it is straightforward to implement. Good results have been obtained from a prototype implementation , and we are currently integrating the system into the Glasgow Haskell Compiler.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Variation analysis of wheat F3 lines produced by crossing between Azar2 and 87-Zhong291 cultivars using RAPD method in drought stress condition

In order to analyze variation and find an efficient selection approach, we used crossing results between two wheat cultivars, Azar2 and 87-Zhong291. F3 plants (374 lines) and four check cultivars planted in the form of augmented experiment. For germination, seeds were irrigated once. After using multiple statistics methods such as cluster analysis, 79 different lines were selected and used for ...

متن کامل

Heterozygosis deficit of polymorphic markers linked to the β-globin gene cluster region in the Iranian population

Objective(s): Iran is considered as one of the high-prevalence areas for β-thalassemia with a rate of about 10% carrier frequency. Molecular diagnosis of the disease is performed both by direct sequencing and indirectly by the use of polymorphic markers present in the beta globin gene cluster. However, to date there is no reliable information on the application of the markers in the Iranian pop...

متن کامل

New approaches to the analysis of palindromic sequences from the human genome: evolution and polymorphism of an intronic site at the NF1 locus

The nature of any long palindrome that might exist in the human genome is obscured by the instability of such sequences once cloned in Escherichia coli. We describe and validate a practical alternative to the analysis of naturally-occurring palindromes based upon cloning and propagation in Saccharomyces cerevisiae. With this approach we have investigated an intronic sequence in the human Neurof...

متن کامل

Relationship between biological behaviour and randomly amplified polymorphic DNA profiles of Trypanosoma cruzi strains.

Once known some biological characteristics of six Trypanosoma cruzi strains, randomly amplified polymorphic DNA (RAPD) analysis was made. Cluster analysis by UPGMA (unweighted pair group method analysis) was then applied both to biological parameters and RAPD profiles. Inspection of the UPGMA phenograms indicates identical clusters, so supporting that usefulness of biological parameters to char...

متن کامل

Isolation and characterization of 13 new microsatellite markers in the triangle mussel (Hyriopsis cumingii)

Microsatellite enriched library of Hyriopsis cumingii was constructed according to the strong affinity between biotin and streptavidin. One hundred clones with foreign inserts were sequenced and 65 clones were screened for usable microsatellites, of which 36 were deemed unique, of sufficient length (more than 8 repeats) and possessed adequate flanking regions for primer designment. Among 36 pri...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998